{/*
* @author PSI
* @copyright 2015 - present
* @license GPL v3
*/}
<layout name="layout" />
<script src="{$uri}Public/Scripts/PSI/SLN0002/Init/InitDetailMainForm.js?dt={$dtFlag}" type="text/javascript"></script>
<script src="{$uri}Public/Scripts/PSI/SLN0002/Init/DetailEditForm.js?dt={$dtFlag}" type="text/javascript"></script>

{/*科目自定义字段*/}
<script src="{$uri}Public/Scripts/PSI/SLN0002/Subject/SubjectField.js?dt={$dtFlag}" type="text/javascript"></script>

{/*账样扩展项*/}
<script src="{$uri}Public/Scripts/PSI/SLN0000/CodeTable/Runtime/CodeTableVoucherField.js?dt={$dtFlag}"
  type="text/javascript"></script>

<script>
  PCL.onReady(() => {
    PSI.Const.PROD_NAME = "{$productionName}";

    const app = PCL.create("PSI.App", {
      userName: "{$loginUserName}",
      productionName: "{$productionName}",
      appHeaderInfo: {
        title: "{$title}",
      }
    });
    app.add(PCL.create("PSI.SLN0002.Init.InitDetailMainForm"));
  });
</script>
